/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'

const settingRouter = {
  path: '/setting',
  component: Layout,
  redirect: '/table/complex-table',
  name: '设置',
  meta: {
    title: '设置',
    icon: 'table'
  },
  children: [
    {
      path: 'profile',
      component: () => import('@/views/setting/profile'),
      name: '我的档案',
      meta: { title: '我的档案' }
    },
    {
      path: 'secure',
      component: () => import('@/views/setting/secure'),
      name: '账户安全',
      meta: { title: '安全设置' }
    }
  ]
}
export default settingRouter
